package org.abbett.eskine.dao.jpa;

import org.abbett.eskine.model.UploadedFile;
import org.abbett.eskine.entity.User;
import java.util.List;
import javax.persistence.Embedded;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Transient;

/**
 * 
                An Eskine user. Each user had pages.
            
 */
@Entity
public class JpaUser extends JPAPersistable<Integer> implements User {
    private static final long serialVersionUID = 1L;



    /** 
                        Unique identifier of a user.
                     */
    @Id
    private String id;

    /** 
     * Get User ID.
     *  
     * @return the id
     */
    public String getId() {
       return this.id;
    }

    /**
     * Set User ID
     *
     * @param id
     */
    public void setId(String id) {
        this.id = id;
    }



    /** 
						The user's e-mail address, used for logging in.
					 */
    private String email;

    /** 
     * Get E-mail Address.
     *  
     * @return the email
     */
    public String getEmail() {
       return this.email;
    }

    /**
     * Set E-mail Address
     *
     * @param email
     */
    public void setEmail(String email) {
        this.email = email;
    }



    /** 
                        The user's password.
                     */
    private String password;

    /** 
     * Get Password.
     *  
     * @return the password
     */
    public String getPassword() {
       return this.password;
    }

    /**
     * Set Password
     *
     * @param password
     */
    public void setPassword(String password) {
        this.password = password;
    }


    public Object primaryKey() {
        return getId();
    }
}// clickframes::version=468247461::clickframes